<?php

class Sesion{
	
	public function __construct(){ }
	
	public function iniciar(){
		@session_start();
	}
	
	public function asignar($varname, $value){
		
		$_SESSION[$varname] = $value;
		
	}
	
	public function destruir(){
		
		session_unset();
		session_destroy();
		
	}
	
}

?>